<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
<c:if test="${check== -1}">
<script>
alert("일치하는 ID가 없습니다.");
history.back(-1);
</script>
</c:if>

<c:if test="${check== 0}">
<script>
alert("비밀번호가 맞지 않습니다!");
history.back(-1);
</script>
</c:if>

<c:if test="${check== 1}">
<script>
alert("님 안녕하세요");
loaction.href="../insa/main.jsp";
</script>
</c:if>


    